package changedb;


import java.io.File;

/**
 *
 * @author Ben Goodwin
 * @version 2.0 16/09/2011
 */
public class XMLFilter extends javax.swing.filechooser.FileFilter
{
    @Override
    public boolean accept(File f) {
        return f.isDirectory() || f.getName().toLowerCase().endsWith(".xml");
    }

    @Override
    public String getDescription() {
        return "*.xml files";
    }
}